package com.springboot.mapper;

import com.springboot.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * @author 唐文亮
 */
@Mapper
public interface UserMapper {
    public User selectByNameAndPsw(Map<String,Object> params);
    public boolean selectByName(String name);
    public boolean insertNewUser(Map<String,Object> params);
}
